package com.ks.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("warn_record")
public class WarnRecord implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String hostname;
    private String instanceId;
    private String type;
    private String indicatorType;
    private String triggerCondition;
    private double triggerValue;
    private LocalDateTime occurTime;
    private LocalDateTime dealTime;
    private String status;
}
